/**
 * Created by Administrator on 2017/3/24.
 * @description 配置路由机制
 */
const prefix = "www/";
const suffix = ".js";

/**H5页面定义规范：{module_name}/{entry_js}*/
export default  {
    home: { //商城首页入口
        url: prefix + 'home/index' + suffix
    },
    shop_all: { //全部店铺入口
        url: prefix + 'shop/more' + suffix
    },
    shop_index: { //大店铺(shoptype)入口
        url: prefix + 'shop/index' + suffix
    },
    shop_plus: { //小店铺(sid)入口
        url: prefix + 'shop/plus' + suffix
    },
    search: { //搜索商品结果页
        url: prefix + 'search/index' + suffix
    },
    detail_index: { //商品详情入口
        url: prefix + 'detail/detail' + suffix
    },
    detail_info: { //商品图文
        url: prefix + 'detail/info' + suffix
    },
    detail_evaluate: { //商品评价列表
        url: prefix + 'detail/evaluate' + suffix
    },
    cart: { //购物车页面
        url: prefix + 'cart/index' + suffix,
        author: true
    },
    confirm: { //订单确认入口
        url: prefix + 'confirm/index' + suffix,
        author: true
    },
    self_picker: { //订单确认-自提点入口
        url: prefix + 'confirm/picker' + suffix,
        author: true
    },
    activity_timeout: { //活动页面-限时抢购
        url: prefix + 'activity/timeout' + suffix
    },
    activity_super: { //活动页面-精选专题
        url: prefix + 'activity/super' + suffix
    },
    order_index: { //我的订单入口
        url: prefix + 'order/index' + suffix,
        author: true
    },
    order_detail: { //我的订单-订单详情
        url: prefix + 'order/detail' + suffix,
        author: true
    },
    order_applyfund: { //我的订单-申请退款
        url: prefix + 'order/applyfund' + suffix,
        author: true
    },
    order_funddetail: { //我的订单-退款详情
        url: prefix + 'order/funddetail' + suffix,
        author: true
    },
    order_applygoods: { //我的订单-退货
        url: prefix + 'order/applygoods' + suffix,
        author: true
    },
    order_evaluate: { //我的订单-评价
        url: prefix + 'order/evaluate' + suffix,
        author: true
    },
    coupon_index: { //我的优惠券入口
        url: prefix + 'coupon/index' + suffix,
        author: true
    },
    address_index: { //管理收货地址入口
        url: prefix + 'address/index' + suffix,
        author: true
    },
    address_edit: { //管理收货地址-新建或编辑收货地址
        url: prefix + 'address/edit' + suffix,
        author: true
    },
    my_money_income_index: { //余额-余额明细
        url: prefix + 'myMoney/incomeindex' + suffix,
        author: true
    },
    my_money_income_detail: { //余额-余额明细详情
        url: prefix + 'myMoney/incomedetail' + suffix,
        author: true
    },
    my_money_freeze_index: { //余额-冻结余额
        url: prefix + 'myMoney/freezeindex' + suffix,
        author: true
    },
    my_gift: { //我的专享礼包
        url: prefix + 'myGift/index' + suffix,
        author: true
    },
    my_gift_bind: { //我的专享礼包-绑定激活码结果页
        url: prefix + 'myGift/gift' + suffix,
        author: true
    },
    my_share: { //分享有礼页面入口
        url: prefix + 'myShare/index' + suffix,
        author: true
    },
    cash: { //收银台界面入口
        url: prefix + 'cash/index' + suffix,
        author: true
    },
    new_cash: { //开通免密并发起支付界面入口
        url: prefix + 'newCash/index' + suffix,
        author: true
    },
    security_pay_index: { //免密支付界面入口
        url: prefix + 'securityPay/manage' + suffix,
        author: true
    },
    security_pay_open: { //免密支付开通界面入口
        url: prefix + 'securityPay/open' + suffix,
        author: true
    },
    security_pay_detail: { //免密支付详情界面入口
        url: prefix + 'securityPay/detail' + suffix,
        author: true
    },
    security_pay_msg: { //免密支付说明界面入口
        url: prefix + 'securityPay/msg' + suffix,
        author: true
    }
};
